﻿using Abp.AutoMapper;
using Partner.Surround.Organizations.Dto;
using Partner.Surround.Web.Models.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Partner.Surround.Web.Models.OrganizationUnits
{
    /// <summary>
    /// 组织机构列表视图模型(用于列表展示)
    /// </summary>
    [AutoMap(typeof(OrganizationUnitListDto))]
    public class OrganizationUnitListViewModel : EntityViewModel<long>
    {
        public long? ParentId { get; set; }

        public string DisplayName { get; set; }

        public bool Checked { get; set; } = false;
    }
}
